package com.flying.acls.domain.resource;

import com.flying.acls.model.*;
import com.flying.acls.model.ExprType;
import com.flying.acls.model.ResExpr;

public class ResExprFactory {
    public static ResExpr get(ResType type, ExprType exprType, String expression) {
        return new ResExpr(Constant.DEFAULT_OWNER, type, exprType, expression);
    }

    public static ResExpr get(String owner, ResType type, ExprType exprType, String expression) {
        return new ResExpr(owner, type, exprType, expression);
    }
}
